Community Ecology by Mark Gardener
Author:Mark Gardener
Language: eng
Format: epub
Publisher: Vearsa
Published: 2014-02-28T16:00:00+00:00
So, using Excel to determine beta diversity is fairly straightforward but, of course, the more samples you have the more ‘individual’ your formulae will become. Using R gives a bit more flexibility because you do not have to create formulae for individual groups of samples. In the following exercise you can have a go at calculating the beta diversity using the same ground beetle data.
Have a Go: Use R to calculate beta diversity for species richness using replicated habitat data
You will need the CERE.RData file for this exercise; you’ll be looking at the ground beetle data. There are two data items gb.biol contains the community data and gb.site contains the habitat information. You’ll also need the vegan package.
1. Start by making sure that the vegan package is loaded and ready:
> library(vegan)
2. The gamma diversity can be found for the habitats by with the specnumber() command, which allows a grouping variable to be used:
> gamma <- specnumber(gb.biol, gb.site$Habitat)
> gamma
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Biomathematics | Differential Equations |
Game Theory | Graph Theory |
Linear Programming | Probability & Statistics |
Statistics | Stochastic Modeling |
Vector Analysis |
Modelling of Convective Heat and Mass Transfer in Rotating Flows by Igor V. Shevchuk(6211)
Weapons of Math Destruction by Cathy O'Neil(5792)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(4462)
Descartes' Error by Antonio Damasio(3144)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(3085)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(3030)
TCP IP by Todd Lammle(2988)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2879)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2838)
The Tyranny of Metrics by Jerry Z. Muller(2823)
The Book of Numbers by Peter Bentley(2749)
The Great Unknown by Marcus du Sautoy(2520)
Once Upon an Algorithm by Martin Erwig(2461)
Easy Algebra Step-by-Step by Sandra Luna McCune(2439)
Lady Luck by Kristen Ashley(2389)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(2363)
Police Exams Prep 2018-2019 by Kaplan Test Prep(2336)
All Things Reconsidered by Bill Thompson III(2246)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(2215)
